export default {
    /**
     * @param {*} state  vuex中定义的状态数据
     * @param {*} value  actions穿过来的数据
     */
    DECREMENT(state, value) {
        console.log('state: ', state)
        console.log('value: ', value)
        state.count -= value
    },
    INCREMENT(state, value) {
        state.count += value
    }
}